home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Games / PC-SIG World of Games (CDRM1080710) (1993).iso / 2391 / TI15.EXE / lha / TRASHIT.DOC < prev    next >
Text File  |  1991-03-29  |  18KB  |  344 lines

  1.  
  2.                 * * * * * * * * * * * * * * * *
  3.                 *  Trash-It (tm) Version 1.5  *
  4.                 *   Copyright 1990 RSE Inc    *
  5.                 *     December 30, 1990       *
  6.                 * * * * * * * * * * * * * * * *
  7.  
  8. Have you ever accidentally deleted a file or groups of files and 
  9. found you couldn't recover them?  I have.  Several times.  Now 
  10. there's a way to prevent this from ever happening again. 
  11.     
  12. Trash-It works with DOS, PC-Directory, PC-FileNotes, MS Windows or 
  13. any program that uses DOS function calls to delete files.  Instead of 
  14. deleting the file, Trash-It moves the file over to the \TRASH subdir.  
  15. In other words, your deleted files remain intact, they just get moved 
  16. out of the way.  If you accidentally delete a file, don't worry, it's 
  17. still completely intact over in the \TRASH subdir where DOS can't 
  18. overwrite it.  And Trash-It is completely transparent to the user. 
  19.  
  20. But you say, "I have an un-delete program".  That's all well and 
  21. good.  However, if DOS has overwritten any part of the disk where the 
  22. deleted file was stored, even the most sophisticated of the un-delete 
  23. programs fail.  The less sophisticated ones fail for even more 
  24. reasons (directory info overwritten, files clusters that aren't 
  25. contiguous, etc..).  In my experience un-delete programs work about 
  26. half the time, if you're lucky.  With Trash-It there's no chance of 
  27. DOS overwriting the file, because the file is never deleted. 
  28.  
  29. Of course, since you're not actually deleting these files, eventually 
  30. your hard disk is going to fill up, requiring that you "dump the 
  31. trash", i.e. go to the \TRASH subdirectory and clean it out.
  32.  
  33. When you register you'll get AutoDump, a program that automatically 
  34. deletes trashed files (files that have been moved to the TRASH 
  35. subdir) that have been there longer than the number of days you 
  36. specify.  In addition, AutoDump gives you the option of using PKZIP 
  37. (tm) to automatically ZIP your trashed files in order to save even 
  38. more disk space. 
  39.  
  40. As a registered user you'll also get KeyDump, a TSR that does pretty 
  41. much what AutoDump does but at the touch of a key.  Even during other 
  42. programs.  That way if you're in the middle of another program and 
  43. you get a "Disk Full" message you can activate KeyDump and free up 
  44. some space.
  45.  
  46. In the interim you can use any file manager (like PC-Directory), or 
  47. DOS itself, to delete the files in the \TRASH subdir.  
  48.  
  49. ** Trash-It doesn't interfere with deletes done in the \TRASH subdir.  
  50. Files deleted in the \TRASH subdir are actually deleted. 
  51.  
  52. Note:  PC-Directory (another of our shareware programs) is a big help 
  53. when it comes to recovering trashed files, or housekeeping the Trash 
  54. subdir.  For example, let's look at how you might recover a trashed 
  55. file using PC-Directory.  First you'd pop-up PC-Directory and use the 
  56. tree listing of directories to move to the TRASH subdir.  Instantly a 
  57. listing of all trashed files would be displayed, sorted by name.  If 
  58. it's easier to find the file you're after by the time it was trashed, 
  59. then you can re-sort the entire listing by date/time in the blink of 
  60. an eye.  When you find the file you want, you can instantly view it 
  61. with one keystroke.  Once you're sure this is the one, then you can 
  62. use PC-Directory to move it back to its original directory.  And if 
  63. you need to rename it (because there was another trashed file with 
  64. the same name), you can do it with just one more keystroke.  Fast and 
  65. simple.  And because PC-Directory is a TSR (33K) you can use it even 
  66. while in the middle of another application.  This can be real handy 
  67. if you need to free up some disk space NOW.  And the nice thing is 
  68. you'll get the shareware version of PC-Directory (plus a bunch of our 
  69. other programs) when you register Trash-It. 
  70.  
  71. The Configuration Program:
  72.  
  73. Trash-It also comes with a configuration program.  The key to keeping 
  74. disk space free is to only trash significant files.  The 
  75. configuration program lets you do just that.  To run it, go to the 
  76. where the Trash-It files reside and enter "CONFIG" at the DOS prompt.  
  77. Do it now. 
  78.  
  79. You use the configuration program to exempt files from being trashed.  
  80. You can set a minimum file size in which files greater than the limit 
  81. are trashed (moved to the TRASH subdir) and those less than the limit 
  82. are deleted.  This can save a lot of disk space.  Even a 1 byte file 
  83. takes up 4K of hard disk space.  By having Trash-It delete small 
  84. files (instead of trashing them) you can free up a significant amount 
  85. of disk space, without sacrificing any important files. 
  86.  
  87. The configuration program also lets you specify up to five different 
  88. filename extensions.  All "deleted" files with the extension(s) you 
  89. define will be deleted instead of trashed.  This too can save a 
  90. significant amount of disk space.  For example, some programs create 
  91. temporary files with "TMP" as the filename extension.  These files 
  92. aren't important once the program ends and are deleted. If you 
  93. specify "TMP" in the configuration program then Trash-It would delete 
  94. these files rather than trash them.  You may use the global character 
  95. "?" when defining your extensions.
  96.  
  97. The last item in the configuration program lets you decide whether 
  98. you want Trash-It to change the trashed file's date/time to the time 
  99. it was trashed.  If you select "No" then Trash-It leaves the 
  100. date/time of the trashed file unchanged.  This lets Trash-It run a 
  101. little faster.  The downside is that you have no way of knowing when 
  102. the file was trashed, rendering AutoDump and KeyDump practically 
  103. useless.  "Yes" is the default value and the position we recommend.  
  104. However if you're a real speed freak, or for some reason you want the 
  105. deleted files to retain their original date/time, then select "No". 
  106.  
  107. To change an item use the up/down arrow keys to select the item and 
  108. press C for Change.  Then input the new value.  To delete an 
  109. extension: select the extension you want to delete, press C to 
  110. Change, and then press the Enter or Return key without entering 
  111. anything.  When you've finished making all your changes then press 
  112. the Escape key to save the changes and exit the configuration 
  113. program. 
  114.  
  115. Getting started:
  116.  
  117. Before you use Trash-It for the first time you need to create a 
  118. subdirectory called "\TRASH" on your hard disk by entering: 
  119.  
  120.    "md \trash" 
  121.  
  122. at the DOS prompt.  If you have your hard drive partitioned than 
  123. create a "\TRASH" subdir in each partition. 
  124.  
  125. After you've created the "\TRASH" subdir then all you do to run 
  126. Trash-It is move to the subdir where TI.COM is located and enter "ti" 
  127. at the DOS prompt.  Once loaded Trash-It automatically intercepts all 
  128. attempts via DOS function calls to delete files, and instead moves 
  129. the files to the Trash ("\TRASH subdir").  You don't do anything 
  130. different than before.  It is totally transparent to the user. 
  131.  
  132. *  The "how to register" information that appears when Trash-It is 
  133. loaded, and the 5 second delay, will disappear when you register. 
  134.  
  135. The best way to make sure Trash-It is loaded is to put "TI.COM" in 
  136. the root directory, and the phrase "TI" in your "AUTOEXEC.BAT" file, 
  137. also located in the root directory.  This will automatically load 
  138. Trash-It every time you boot your computer. 
  139.  
  140. You can remove Trash-It from memory by entering "ti/u" at the DOS prompt.  
  141. Remember, you always remove TSR's in the reverse order in which they were 
  142. loaded.  If you don't, it's possible your computer will lock up, 
  143. requiring a re-boot.  If you get the "unable to remove Trash-It" message 
  144. chances are the TI.COM isn't the last TSR loaded.
  145.  
  146. Limitations:
  147.  
  148. Programs can delete files using two methods.  Most programs use DOS 
  149. function calls do it.  However, a few programs directly modify the 
  150. disk data (FAT and Directory info) without using DOS. 
  151.  
  152. *  Trash-It works only if DOS function calls are used to delete     *
  153. *  the file(s).                                                     *
  154.  
  155. Trash-It can't protect against programs that go in and modify the FAT 
  156. and Directory information directly.  However, almost all programs let 
  157. DOS do what it's designed for by using DOS function calls to delete 
  158. files, thereby allowing Trash-It to do its job.   
  159.  
  160. *  Trash-It only works if it finds a "\TRASH" subdirectory on the    * 
  161. *  disk (or partition) where the deleted files are located.          *
  162.  
  163. For example, let's say you have a Trash subdir on your hard drive, 
  164. C:.  You then attempt to delete files on the A: drive.  If the disk 
  165. in the A: drive doesn't have a \TRASH subdir then the files will be 
  166. deleted, even tho there is a \TRASH subdir on the C: drive.  Files 
  167. will only be moved to the \TRASH subdir if the \TRASH subdir is 
  168. located on the same disk as the files being deleted.  Of course, you 
  169. can make \TRASH subdirs on all your disks if you want.
  170.  
  171.                          ** WARNING ** 
  172.     You shouldn't take deleting files any less seriously than 
  173.     you always have, because in the situations described above 
  174.     (and possibly a few we don't know about yet) the file will 
  175.     actually be deleted. 
  176.  
  177. *  If Trash-It finds a file in the \TRASH subdir with the same name  * 
  178. *  as the file it's trying to move there, then it will increment     *
  179. *  the last letter of the filename until it's unique.                *
  180.  
  181. For example, if you're trying to delete "TEMP" and a file named 
  182. "TEMP" already exists in the "\TRASH" subdir then Trash-It would 
  183. increment the last letter of the filename being moved, in this case 
  184. from "TEMP" to "TEMQ", and try again. 
  185.  
  186. Using AutoDump:             Registered Users Only
  187.  
  188. AutoDump helps free up disk space by automatically deleting trashed 
  189. files older than the user-specified number of days, or smaller than 
  190. the user-specified size.  You adjust these values by configuring 
  191. AutoDump.  To configure AutoDump enter "autodump /c" at the DOS prompt 
  192. and follow the instructions.  You'll notice when you configure that 
  193. you also have the option of Zipping the trashed files. 
  194.  
  195. The Zip option uses PKZIP (a shareware file compression program from 
  196. PKWARE: 1-414-352-7176) to combine and compress all the files that 
  197. have been trashed since the last time you used AutoDump and puts them 
  198. in a single file.  The advantage is that this frees up disk space.  
  199. The disadvantage is that it's harder to know what files have been 
  200. trashed, making it tougher to find and recover a trashed file.  
  201. Personally, I wouldn't use this option unless disk space is at a 
  202. premium. 
  203.  
  204. The filename given the zipped file contains the month and day plus a 
  205. letter starting at A and increasing each time AutoDump is run on the 
  206. same date.  For example, if today is October 5th then the filename 
  207. would be 1005A.ZIP.  If you ran AutoDump again today then the 
  208. filename would be 1005B.ZIP, and so on.  Tomorrow the filename would 
  209. be 1006A.ZIP.
  210.  
  211. AutoDump treats .ZIP files just like trashed files and will delete 
  212. them after they become older than the user-specified number of days.
  213.  
  214. In order for the Zip option to work, PKZIP.EXE must be in the 
  215. directory from which AutoDump is run, not necessarily where AutoDump 
  216. resides.  For example, let's say you keep the Trash-It files in a 
  217. subdirectory called "TI" and you want AutoDump to run every time you 
  218. boot your computer so you put the phrase "\TI\AUTODUMP" in your 
  219. AUTOEXEC.BAT file.  Since the AUTOEXEC.BAT file resides in the root 
  220. directory then PKZIP.EXE must be in the root directory as well, even 
  221. though TI.COM isn't.
  222.  
  223. Refer to the PKZIP documentation for instructions on how to view and 
  224. retrieve files in a .ZIP file.
  225.  
  226. Give some thought to the values you chose for AutoDump.  If you're 
  227. not short of disk space then you'd want to specify a larger # of 
  228. days to keep trashed files around than you would if disk space is at 
  229. a premium.  Remember too, that you can specify a minimum file size in 
  230. Trash-It itself, so why specify it again here?  The reason: tiny 
  231. files usually aren't important, and if they are you'll probably know 
  232. right away.  By making the minimum file size smaller in Trash-It than 
  233. in AutoDump you give yourself a period of time where you can recover 
  234. these tiny files before AutoDump comes along and deletes them.  You 
  235. still get your hard disk cleaned up, it's just that you now have a 
  236. grace period to recover those tiny little buggers. 
  237.  
  238. You run AutoDump by entering "autodump" at the DOS prompt.  The best 
  239. way to operate AutoDump is from your AUTOEXEC.BAT file.  That way 
  240. it's activated every time you boot your computer, without any input 
  241. from you at all.
  242.  
  243. Using KeyDump:              Registered Users Only
  244.  
  245. KeyDump enables those of you silly enough not to use PC-Directory, to 
  246. recover (maybe) from a "disk full" error.  It operates exactly the 
  247. same as AutoDump, except there's no .ZIP option, and you activate it 
  248. by pressing its hot key Ctrl-Alt-K.  By specifying a higher value for 
  249. the "min file size" variable, or a lower value for the "# of days to 
  250. keep trashed files" in KeyDump than in AutoDump, KeyDump will hopefully 
  251. find more trashed files to get rid of, thereby freeing up enough disk 
  252. space (we hope) for the current application to recover from the disk full 
  253. error.  You could even set the number of days to keep trashed files 
  254. around to zero, thereby deleting all the trashed files whenever you 
  255. activate KeyDump.  Drastic but effective. 
  256.  
  257. KeyDump is a small TSR (2K) which means you only run it once when you 
  258. first boot your computer and it stays hidden in memory waiting for 
  259. you to activate it.  You load KeyDump into memory by entering 
  260. "keydump" at the DOS prompt.  You configure it (change the file 
  261. size, and # of days values) by entering "keydump /c" at the DOS prompt 
  262. and following the instructions. 
  263.  
  264. After you've loaded KeyDump if you ever get a "disk full" message 
  265. then press Ctrl, Alt, and the K key at the same time.  KeyDump will 
  266. do its thing and emit a double beep to let you know it's done.  Then 
  267. have the current application try again to save the file.
  268.  
  269. A much better method of recovering from a "disk full" message is to 
  270. use a TSR file manager like PC-Directory that lets you pop-up, go 
  271. over and selectively delete trashed files, and then return.  This way 
  272. you can delete as many trashed files as necessary: more or less as 
  273. the need requires.  
  274.  
  275. Of course if you use a multi-tasker like DesqView or Windows, you can 
  276. change to the DOS window, or a file manager window (like the non-TSR 
  277. version of PC-Directory), delete some trashed files, and then return 
  278. to the application that gave you the "disk full" message and try 
  279. again. 
  280.  
  281. Remember, if you configure Trash-It to NOT change the trashed file's 
  282. date/time to the date/time when it was trashed then AutoDump and 
  283. KeyDump will delete trashed files according to when they were created 
  284. or last modified, not when they were trashed. 
  285.  
  286. Tech Support:
  287.  
  288. Registered users can call (206) 939-4105 for technical support.  
  289. You can also contact us by E-Mail on Compuserve ID #: 72371,1557
  290.  
  291. How Much?:
  292.  
  293. Trash-It (tm) is copyrighted 1990 by RSE Incorporated.  It's being 
  294. released as user-supported shareware.  This means you're freely given 
  295. this copy in order to evaluate it.  If after a 21 day evaluation 
  296. period you decide to continue using Trash-It, you need to become a 
  297. registered user by sending the registration fee of $10 (add $1 for 
  298. 3.5 disk) to: 
  299.  
  300.     Trash-It Registration               Mastercard or Visa customers:
  301.     1157 57th Drive SE                         (206) 939-4105
  302.     Auburn, WA 98002                       Compuserve: 72371,1557
  303.  
  304. Overseas customers please add $5 for shipping.
  305.  
  306. You're encouraged to freely distribute copies of the TI15.EXE file 
  307. as long as you don't charge anything for the copies.  DO NOT 
  308. distribute the individual, extracted, files; only TI15.EXE. 
  309.  
  310. When you register Trash-It you'll receive a disk crammed full of our 
  311. other user-supported programs including PC-Directory, Playback, 
  312. Conjecture, Remind Me!, Nabbit, BriteLine, and PC-Images.  After all, 
  313. you'll need a good file manager to go with Trash-It, and PC-Directory 
  314. is the best (if I do say so myself -grin-). 
  315.  
  316. A book containing printed documentation for all of our shareware products 
  317. (including Trash-It) is available for an extra $5. 
  318.  
  319. Registered users also get the two programs described earlier: 
  320. AutoDump and KeyDump.  
  321.  
  322. In addition, when you register all the "please register" info that 
  323. appears when you run Trash-It (along with the 5 second delay), 
  324. disappears. 
  325.  
  326. Those using Trash-It in a commercial or educational environment must 
  327. register within 30 days.  Site licenses are available, as well as 
  328. quantity discounts.
  329.  
  330. I hope you find Trash-It worthy of your support.  Take care. 
  331.  
  332. *** Disclaimer ***
  333.  
  334. RSE Incorporated specifically disclaims all warranties expressed or 
  335. implied, including, without limitation, any implied warranties of 
  336. merchantability or fitness for a particular purpose.  The software 
  337. itself is licensed "As Is", without any express or implied warranties 
  338. whatsoever.  In no event shall RSE Incorporated, its distributors or 
  339. dealers, be liable for any loss of profit or any other commercial 
  340. damage, including, without limitation, special, incidental, 
  341. consequential or other damages.  In no case shall any liability 
  342. exceed the price paid for the software.
  343.  
  344.